package com.sc.sc250601.cook.mapper;

import com.sc.sc250601.cook.pojo.Category;

import java.util.List;

public interface CategoryMapper {
    List<String> selectAll();
    int deleteByPrimaryKey(Long id);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

    //获取所有分类
    List<Category> selectAlls();
}